.version |= $version  | (.optionalDependencies |= with_entries(.value |= $version))? // .